//导入request
import request from "@/utils/request";

//导出登录接口
export const loginApi = (data) => {
  return request.post("/user/login", data);
};

//导出注册接口
export const registerApi = (data) => {
  return request.post("/user/register", data);
};
